
package com.yc.webservice.client.callpy;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 3.3.3
 * 2019-08-29T15:54:57.459+08:00
 * Generated source version: 3.3.3
 *
 */
public final class Application_Application_Client {

    private static final QName SERVICE_NAME = new QName("callpy.client.webservice.yc.com", "HelloWorldService");

    private Application_Application_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = HelloWorldService.WSDL_LOCATION;
        if (args.length > 0 && args[0] != null && !"".equals(args[0])) {
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }

        HelloWorldService ss = new HelloWorldService(wsdlURL, SERVICE_NAME);
        Application port = ss.getApplication();

        {
        System.out.println("Invoking sayHello...");
        java.lang.String _sayHello_name = "--------张三-----";
        java.math.BigInteger _sayHello_times = new java.math.BigInteger("3");
        com.yc.webservice.client.callpy.StringArray _sayHello__return = port.sayHello(_sayHello_name, _sayHello_times);
        for (String str : _sayHello__return.getString()) {
        	System.out.println("sayHello.result=" + str);
		}
        

        }

        System.exit(0);
    }

}
